using DevExpress.Utils;
using DevExpress.XtraEditors;
using DevExpress.XtraEditors.Controls;
using APP.HELPER;
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using Common;

namespace Extra.Data.Extra.UI
{
    public class xucDataChoose : xucBase
    {
        private ComboBoxEdit cbxDatabase;
        private ComboBoxEdit cbxServer;
        private IContainer components = null;
        private LabelControl lblDatabase;
        private LabelControl lblServer;
        private LabelControl lblSqlpassword;
        private LabelControl lblSqlusername;
        private PictureEdit picRefreshdatabase;
        private PictureEdit picRefreshserver;
        private RadioGroup rdgAuthentication;
        private TextEdit teLogin;
        private TextEdit tePassword;

        public xucDataChoose()
        {
            this.InitializeComponent();
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            ComponentResourceManager manager = new ComponentResourceManager(typeof(xucDataChoose));
            this.picRefreshserver = new PictureEdit();
            this.picRefreshdatabase = new PictureEdit();
            this.cbxDatabase = new ComboBoxEdit();
            this.lblDatabase = new LabelControl();
            this.cbxServer = new ComboBoxEdit();
            this.tePassword = new TextEdit();
            this.teLogin = new TextEdit();
            this.lblSqlpassword = new LabelControl();
            this.lblSqlusername = new LabelControl();
            this.rdgAuthentication = new RadioGroup();
            this.lblServer = new LabelControl();
            this.picRefreshserver.Properties.BeginInit();
            this.picRefreshdatabase.Properties.BeginInit();
            this.cbxDatabase.Properties.BeginInit();
            this.cbxServer.Properties.BeginInit();
            this.tePassword.Properties.BeginInit();
            this.teLogin.Properties.BeginInit();
            this.rdgAuthentication.Properties.BeginInit();
            base.SuspendLayout();
            this.picRefreshserver.Cursor = Cursors.Hand;
            this.picRefreshserver.EditValue = manager.GetObject("picRefreshserver.EditValue");
            this.picRefreshserver.Location = new Point(0x12d, 5);
            this.picRefreshserver.Name = "picRefreshserver";
            this.picRefreshserver.Properties.AllowFocused = false;
            this.picRefreshserver.Properties.Appearance.BackColor = Color.Transparent;
            this.picRefreshserver.Properties.Appearance.ForeColor = Color.Transparent;
            this.picRefreshserver.Properties.Appearance.Options.UseBackColor = true;
            this.picRefreshserver.Properties.Appearance.Options.UseForeColor = true;
            this.picRefreshserver.Properties.BorderStyle = BorderStyles.NoBorder;
            this.picRefreshserver.Properties.ReadOnly = true;
            this.picRefreshserver.Properties.ShowMenu = false;
            this.picRefreshserver.Properties.SizeMode = PictureSizeMode.Stretch;
            this.picRefreshserver.Size = new Size(0x19, 0x19);
            this.picRefreshserver.TabIndex = 0x31;
            this.picRefreshserver.ToolTip = "Nạp lại";
            this.picRefreshserver.ToolTipIconType = ToolTipIconType.Information;
            this.picRefreshdatabase.Cursor = Cursors.Hand;
            this.picRefreshdatabase.EditValue = manager.GetObject("picRefreshdatabase.EditValue");
            this.picRefreshdatabase.Location = new Point(0x12d, 0x88);
            this.picRefreshdatabase.Name = "picRefreshdatabase";
            this.picRefreshdatabase.Properties.AllowFocused = false;
            this.picRefreshdatabase.Properties.Appearance.BackColor = Color.Transparent;
            this.picRefreshdatabase.Properties.Appearance.ForeColor = Color.Transparent;
            this.picRefreshdatabase.Properties.Appearance.Options.UseBackColor = true;
            this.picRefreshdatabase.Properties.Appearance.Options.UseForeColor = true;
            this.picRefreshdatabase.Properties.BorderStyle = BorderStyles.NoBorder;
            this.picRefreshdatabase.Properties.ReadOnly = true;
            this.picRefreshdatabase.Properties.ShowMenu = false;
            this.picRefreshdatabase.Properties.SizeMode = PictureSizeMode.Stretch;
            this.picRefreshdatabase.Size = new Size(0x19, 0x19);
            this.picRefreshdatabase.TabIndex = 50;
            this.cbxDatabase.Location = new Point(0x7f, 0x8a);
            this.cbxDatabase.Name = "cbxDatabase";
            this.cbxDatabase.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.cbxDatabase.Size = new Size(0xa8, 20);
            this.cbxDatabase.TabIndex = 0x30;
            this.lblDatabase.Location = new Point(0x3d, 0x8d);
            this.lblDatabase.Name = "lblDatabase";
            this.lblDatabase.Size = new Size(0x39, 13);
            this.lblDatabase.TabIndex = 0x2f;
            this.lblDatabase.Text = "T\x00ean Dữ Liệu";
            this.cbxServer.EditValue = @"(Local)\PERFECT";
            this.cbxServer.Location = new Point(0x7f, 9);
            this.cbxServer.Name = "cbxServer";
            this.cbxServer.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.cbxServer.Size = new Size(0xa8, 20);
            this.cbxServer.TabIndex = 0x2e;
            this.tePassword.Enabled = false;
            this.tePassword.Location = new Point(0x7f, 0x71);
            this.tePassword.Name = "tePassword";
            this.tePassword.Properties.PasswordChar = '*';
            this.tePassword.Size = new Size(0xa8, 20);
            this.tePassword.TabIndex = 0x2b;
            this.teLogin.EditValue = "sa";
            this.teLogin.Enabled = false;
            this.teLogin.Location = new Point(0x7f, 0x59);
            this.teLogin.Name = "teLogin";
            this.teLogin.Size = new Size(0xa8, 20);
            this.teLogin.TabIndex = 0x2a;
            this.lblSqlpassword.Location = new Point(0x3d, 0x74);
            this.lblSqlpassword.Name = "lblSqlpassword";
            this.lblSqlpassword.Size = new Size(0x2d, 13);
            this.lblSqlpassword.TabIndex = 0x2d;
            this.lblSqlpassword.Text = "Mật Khẩu";
            this.lblSqlusername.Location = new Point(0x3d, 0x5c);
            this.lblSqlusername.Name = "lblSqlusername";
            this.lblSqlusername.Size = new Size(0x2f, 13);
            this.lblSqlusername.TabIndex = 0x2c;
            this.lblSqlusername.Text = "T\x00e0i Khoản";
            this.rdgAuthentication.EditValue = 0;
            this.rdgAuthentication.Location = new Point(0x7f, 0x23);
            this.rdgAuthentication.Name = "rdgAuthentication";
            this.rdgAuthentication.Properties.Appearance.BackColor = Color.Transparent;
            this.rdgAuthentication.Properties.Appearance.Options.UseBackColor = true;
            this.rdgAuthentication.Properties.Columns = 1;
            this.rdgAuthentication.Properties.Items.AddRange(new RadioGroupItem[] { new RadioGroupItem(0, "T\x00e0i Khoản Windows"), new RadioGroupItem(1, "T\x00e0i Khoản SQL Server") });
            this.rdgAuthentication.Size = new Size(0xa8, 0x30);
            this.rdgAuthentication.TabIndex = 0x29;
            this.lblServer.Location = new Point(0x43, 11);
            this.lblServer.Name = "lblServer";
            this.lblServer.Size = new Size(0x2a, 13);
            this.lblServer.TabIndex = 40;
            this.lblServer.Text = "M\x00e1y Chủ";
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode = AutoScaleMode.Font;
            base.Controls.Add(this.picRefreshserver);
            base.Controls.Add(this.picRefreshdatabase);
            base.Controls.Add(this.cbxDatabase);
            base.Controls.Add(this.lblDatabase);
            base.Controls.Add(this.cbxServer);
            base.Controls.Add(this.tePassword);
            base.Controls.Add(this.teLogin);
            base.Controls.Add(this.lblSqlpassword);
            base.Controls.Add(this.lblSqlusername);
            base.Controls.Add(this.rdgAuthentication);
            base.Controls.Add(this.lblServer);
            base.Name = "xucDataChoose";
            base.Size = new Size(0x1c0, 220);
            this.picRefreshserver.Properties.EndInit();
            this.picRefreshdatabase.Properties.EndInit();
            this.cbxDatabase.Properties.EndInit();
            this.cbxServer.Properties.EndInit();
            this.tePassword.Properties.EndInit();
            this.teLogin.Properties.EndInit();
            this.rdgAuthentication.Properties.EndInit();
            base.ResumeLayout(false);
            base.PerformLayout();
        }
    }
}

